package cn.jaye.fabric.domain.model;

import lombok.*;

/**
 * @author Jaye
 * @create 2018-03-23 15:43
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private String username;
    private String password;
    private String orgId;

//    public User(String username, String password, String orgId) {
//        this.username = username;
//        this.password = password;
//        this.orgId = orgId;
//    }

    public boolean isAdmin() {
        return false;
    }

}
